package com.ilibrary.db.dao.hibernate;

import java.util.List;

import com.ilibrary.db.dao.MyBaseDao;
import com.ilibrary.db.entity.Book;

public interface BookDao extends MyBaseDao<Book, Integer> {

	List<Book> queryList(int start, int limit, String categoryId, String keywords);

	Integer queryCnt(String categoryId, String keywords);

	Integer queryCntByKeyword(String keywords);

	List<Book> queryListByKeyword(int start, int limit, String keywords);
	
}
